-
Home
-
SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments
-
3.0.4
-
Code
-
Classes
- DatabaseModel
Total Complexity |
142 |
Dependencies |
5 |
Dependents |
0 |
Total lines |
1,167 |
Lines of code |
478 |
Logical lines of code |
261 |
Comment lines |
520 |
Methods |
66 |
Properties |
17 |
Methods 66
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
toArray() |
A |
50 |
8 |
27 |
update() |
S |
48 |
6 |
37 |
create() |
S |
50 |
5 |
31 |
setAttributes() |
S |
57 |
6 |
16 |
delete() |
S |
58 |
5 |
16 |
save() |
S |
58 |
5 |
16 |
isDirty() |
S |
59 |
5 |
15 |
getDirty() |
S |
61 |
5 |
12 |
__callStatic() |
S |
60 |
4 |
13 |
__call() |
S |
62 |
4 |
12 |
getAttribute() |
S |
62 |
4 |
12 |
setCollection() |
S |
63 |
4 |
10 |
isFillable() |
S |
63 |
4 |
10 |
find() |
S |
60 |
3 |
13 |
refresh() |
S |
62 |
3 |
12 |
setRelation() |
S |
72 |
3 |
5 |
originalIsNumericallyEquivalent() |
S |
70 |
3 |
5 |
getOriginal() |
S |
70 |
3 |
6 |
isError() |
S |
75 |
3 |
3 |
first() |
S |
72 |
2 |
5 |
getQuery() |
S |
72 |
2 |
6 |
deleteAll() |
S |
66 |
2 |
8 |
fresh() |
S |
71 |
2 |
6 |
getRelationId() |
S |
74 |
2 |
4 |
setPagination() |
S |
59 |
1 |
15 |
__construct() |
S |
67 |
2 |
8 |
isGuarded() |
S |
74 |
2 |
4 |
getMutator() |
S |
65 |
2 |
8 |
bootModel() |
S |
69 |
2 |
7 |
fireModelEvent() |
S |
65 |
2 |
8 |
setAttribute() |
S |
67 |
2 |
8 |
get() |
S |
66 |
2 |
9 |
getMode() |
S |
82 |
1 |
3 |
jsonSerialize() |
S |
81 |
1 |
3 |
getDBInstance() |
S |
79 |
1 |
3 |
__unset() |
S |
81 |
1 |
3 |
__isset() |
S |
80 |
1 |
3 |
offsetUnset() |
S |
79 |
1 |
3 |
offsetSet() |
S |
80 |
1 |
3 |
offsetGet() |
S |
80 |
1 |
3 |
offsetExists() |
S |
79 |
1 |
3 |
__set() |
S |
80 |
1 |
3 |
__get() |
S |
80 |
1 |
3 |
syncOriginal() |
S |
77 |
1 |
4 |
getGuarded() |
S |
82 |
1 |
3 |
getCalledClassName() |
S |
68 |
1 |
7 |
boot() |
S |
89 |
1 |
2 |
hasAttribute() |
S |
79 |
1 |
3 |
registerModelEvent() |
S |
74 |
1 |
4 |
setMode() |
S |
77 |
1 |
4 |
deleting() |
S |
79 |
1 |
3 |
paginate() |
S |
77 |
1 |
4 |
setIdAttribute() |
S |
79 |
1 |
3 |
resetAttributes() |
S |
77 |
1 |
4 |
fill() |
S |
80 |
1 |
3 |
with() |
S |
74 |
1 |
4 |
deleted() |
S |
79 |
1 |
3 |
updated() |
S |
79 |
1 |
3 |
getAttributes() |
S |
77 |
1 |
3 |
updating() |
S |
79 |
1 |
3 |
created() |
S |
79 |
1 |
3 |
creating() |
S |
79 |
1 |
3 |
saved() |
S |
79 |
1 |
3 |
getFillable() |
S |
82 |
1 |
3 |
retrieved() |
S |
79 |
1 |
3 |
saving() |
S |
79 |
1 |
3 |